
<!DOCTYPE HTML>
<html lang="en" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>开篇概述 · smartboot 中文指南</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.2">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-plus/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-expandable-chapters-interactive/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-tbfed-pagefooter/footer.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="2-decoder.html" />
    
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"smartboot","repo":"smart-socket","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    关于smartboot
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" >
            
                <span>
            
                    
                    smart-socket 使用手册
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../">
            
                <a href="../">
            
                    
                    前言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../quickStart.html">
            
                <a href="../quickStart.html">
            
                    
                    快速上手
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" >
            
                <span>
            
                    
                    源码篇
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.3.1" data-path="../first/1-ready.html">
            
                <a href="../first/1-ready.html">
            
                    
                    准备工作
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.2" data-path="../first/2-core-interface.html">
            
                <a href="../first/2-core-interface.html">
            
                    
                    核心接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.3" data-path="../first/3-enum.html">
            
                <a href="../first/3-enum.html">
            
                    
                    枚举状态
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.4" data-path="../first/4-IoServerConfig.html">
            
                <a href="../first/4-IoServerConfig.html">
            
                    
                    服务配置IoServerConfig
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.5" data-path="../first/5-AioQuickServer.html">
            
                <a href="../first/5-AioQuickServer.html">
            
                    
                    服务端AioQuickServer
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.6" data-path="../first/6-AioQuickClient.html">
            
                <a href="../first/6-AioQuickClient.html">
            
                    
                    客户端AioQuickClient
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.7" data-path="../first/7-AioSession.html">
            
                <a href="../first/7-AioSession.html">
            
                    
                    通信会话AioSession
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3.8" data-path="../first/8-CompletionHandler.html">
            
                <a href="../first/8-CompletionHandler.html">
            
                    
                    读写回调
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.4" >
            
                <span>
            
                    
                    进阶篇
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter active" data-level="1.2.4.1" data-path="readme.html">
            
                <a href="readme.html">
            
                    
                    开篇概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.2" data-path="2-decoder.html">
            
                <a href="2-decoder.html">
            
                    
                    协议解码器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.3" data-path="3-type-one.html">
            
                <a href="3-type-one.html">
            
                    
                    一类消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.4" data-path="4-type-two.html">
            
                <a href="4-type-two.html">
            
                    
                    二类消息
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4.5" data-path="5-type-three.html">
            
                <a href="5-type-three.html">
            
                    
                    三类消息
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.2.5" >
            
                <a target="_blank" href="https://smartboot.github.io/smart-socket/apidocs/index.html">
            
                    
                    API Docs
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" >
            
                <span>
            
                    
                    smart-ioc 使用手册
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" >
            
                <span>
            
                    
                    smart-boot 使用手册
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <span>
            
                    
                    mydalgen 使用手册
            
                </span>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" >
            
                <span>
            
                    
                    技术分享
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../../share/rpc/smart-socket-rpc.html">
            
                <a href="../../share/rpc/smart-socket-rpc.html">
            
                    
                    smart-socket实现RPC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../../share/exception/readme.html">
            
                <a href="../../share/exception/readme.html">
            
                    
                    Exception杂谈
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../../donation.html">
            
                <a href="../../donation.html">
            
                    
                    关于捐赠
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >开篇概述</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div class="search-plus" id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x5F00;&#x7BC7;&#x6982;&#x8FF0;">&#x5F00;&#x7BC7;&#x6982;&#x8FF0;</h1>
<p>&#x5728;&#x57FA;&#x7840;&#x7BC7;&#x4E2D;&#x4E3B;&#x8981;&#x8BB2;&#x89E3;&#x7684;&#x8FD8;&#x662F;smart-socket&#x7684;&#x57FA;&#x672C;&#x7528;&#x6CD5;&#xFF0C;&#x53EF;&#x505A;&#x4E3A;&#x5165;&#x95E8;&#x6559;&#x7A0B;&#x3002;&#x7136;&#x800C;&#x5B9E;&#x6218;&#x8FC7;&#x7A0B;&#x4E2D;&#x9762;&#x4E34;&#x7684;&#x60C5;&#x51B5;&#x4F1A;&#x76F8;&#x5BF9;&#x590D;&#x6742;&#x4E00;&#x70B9;&#xFF0C;&#x9A7E;&#x9A6D;smart-socket&#x66F4;&#x9700;&#x8981;&#x638C;&#x63E1;&#x4E00;&#x4E9B;&#x6280;&#x5DE7;&#x6027;&#x7684;&#x64CD;&#x4F5C;&#x3002;&#x5728;&#x8FDB;&#x9636;&#x7BC7;&#x4E2D;&#x4F1A;&#x4ECB;&#x7ECD;&#x5E38;&#x89C1;&#x7684;&#x51E0;&#x7C7B;&#x573A;&#x666F;&#xFF0C;&#x5E76;&#x63D0;&#x4F9B;&#x76F8;&#x5E94;&#x7684;&#x5E94;&#x5BF9;&#x7B56;&#x7565;&#x3002;</p>
<p>&#x5728;&#x6B63;&#x5F0F;&#x8BB2;&#x89E3;&#x4E4B;&#x524D;&#x6211;&#x4EEC;&#x5148;&#x6765;&#x5BF9;&#x5E38;&#x89C1;&#x7684;&#x51E0;&#x79CD;&#x6D88;&#x606F;&#x8FDB;&#x884C;&#x5206;&#x7C7B;&#xFF0C;&#x65B9;&#x4FBF;&#x5927;&#x5BB6;&#x7406;&#x89E3;&#x6D88;&#x5316;&#x3002;&#x540E;&#x7EED;&#x5728;&#x5DE5;&#x4F5C;&#x7EC8;&#x4E8E;&#x9047;&#x5230;&#x95EE;&#x9898;&#x65F6;&#x53EF;&#x6309;&#x7167;&#x672C;&#x6587;&#x5B9A;&#x4E49;&#x7684;&#x7C7B;&#x522B;&#x5BFB;&#x627E;&#x76F8;&#x5E94;&#x7684;&#x89E3;&#x51B3;&#x65B9;&#x6CD5;&#x3002;<strong>&#x6CE8;&#x610F;&#xFF0C;&#x6B64;&#x5904;&#x8BB2;&#x7684;&#x662F;&#x201C;&#x6D88;&#x606F;&#x201D;&#xFF0C;&#x5E76;&#x975E;&#x534F;&#x8BAE;</strong>&#xFF0C;&#x53EF;&#x80FD;&#x6709;&#x4EBA;&#x7591;&#x60D1;&#x8FD9;&#x4E24;&#x8005;&#x7684;&#x533A;&#x522B;&#x3002;&#x7528;&#x9762;&#x5411;&#x5BF9;&#x8C61;&#x7684;&#x601D;&#x60F3;&#x7B80;&#x5355;&#x7406;&#x89E3;&#x5C31;&#x662F;&#xFF1A;&#x534F;&#x8BAE;&#x7B49;&#x540C;&#x4E8E;class&#xFF0C;&#x6D88;&#x606F;&#x5C31;&#x662F;class&#x5B9E;&#x4F8B;&#x5316;&#x540E;&#x7684;object&#x3002;&#x4E3A;&#x4E86;&#x4FBF;&#x4E8E;&#x533A;&#x5206;&#xFF0C;&#x6211;&#x4EEC;&#x5C06;&#x6D88;&#x606F;&#x5206;&#x7C7B;&#x4EE5;&#x4E0B;&#x51E0;&#x79CD;&#xFF1A;</p>
<ol>
<li>&#x4E00;&#x7C7B;&#x6D88;&#x606F;<br>&#x670D;&#x52A1;&#x7AEF;&#x4E0E;&#x5BA2;&#x6237;&#x7AEF;&#x4E4B;&#x95F4;&#x901A;&#x4FE1;&#x7684;&#x6240;&#x6709;&#x6D88;&#x606F;&#x5927;&#x5C0F;&#x90FD;&#x662F;&#x5728;&#x4E00;&#x5B9A;&#x8303;&#x56F4;&#x5185;&#x7684;&#xFF0C;AIOSession&#x7684;readBuffer&#x5BB9;&#x91CF;&#x5B8C;&#x5168;&#x53EF;&#x4EE5;&#x627F;&#x8F7D;&#x81F3;&#x5C11;&#x4E00;&#x4E2A;&#x6D88;&#x606F;&#xFF08;&#x524D;&#x63D0;&#x662F;readBuffer&#x7684;&#x5BB9;&#x91CF;&#x672C;&#x8EAB;&#x5C31;&#x8BBE;&#x7F6E;&#x4E86;&#x4E00;&#x4E2A;&#x201C;&#x5408;&#x7406;&#x201D;&#x7684;&#x6570;&#x503C;&#xFF09;&#x3002;&#x8FD9;&#x4E2A;&#x201C;&#x5408;&#x7406;&#x201D;&#x7684;&#x5B9A;&#x4E49;&#x662F;ReadBuffer&#x5BB9;&#x91CF;&#x5C3D;&#x53EF;&#x80FD;&#x7684;&#x6EE1;&#x8DB3;&#x7EDD;&#x5927;&#x90E8;&#x5206;&#x6D88;&#x606F;&#x957F;&#x5EA6;&#xFF0C;&#x4E14;&#x6570;&#x503C;&#x4E0D;&#x4F1A;&#x8D85;&#x8FC7;&#x4E00;&#x5B9A;&#x9608;&#x503C;&#x3002;&#x5047;&#x8BBE;&#x6211;&#x4EEC;&#x6682;&#x5B9A;readBuffer&#x7684;&#x5BB9;&#x91CF;&#x9608;&#x503C;&#x4E3A;1024&#xFF0C;&#x90A3;&#x4E48;&#x4EE5;&#x4E0B;&#x51E0;&#x79CD;&#x6D88;&#x606F;&#x5219;&#x5C5E;&#x4E8E;&#x4E00;&#x7C7B;&#x6D88;&#x606F;&#xFF1A;<ul>
<li>&#x6240;&#x6709;&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x90FD;&#x5C0F;&#x4E8E;100&#xFF0C;readBuffer&#x8BBE;&#x7F6E;&#x5BB9;&#x91CF;&#x4E3A;100</li>
<li>&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x8303;&#x56F4;[0,512)&#xFF0C;readBuffer&#x5BB9;&#x91CF;&#x8BBE;&#x7F6E;&#x4E3A;512</li>
<li>&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x8303;&#x56F4;[0,1024),readBuffer&#x5BB9;&#x91CF;&#x8BBE;&#x7F6E;&#x4E3A;1024    <blockquote>
<p><strong>&#x90A3;&#x5982;&#x679C;&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x8303;&#x56F4;&#x4E3A;[0,2048)&#x5462;&#xFF0C;&#x6211;&#x4EEC;&#x662F;&#x5426;&#x53EF;&#x4EE5;&#x901A;&#x8FC7;&#x5C06;readBuffer&#x5BB9;&#x91CF;&#x8BBE;&#x7F6E;&#x4E3A;2048&#x6765;&#x6EE1;&#x8DB3;&#x6211;&#x4EEC;&#x7684;&#x9700;&#x6C42;&#xFF1F;</strong>&#x7B54;&#x6848;&#x662F;&#x5426;&#x5B9A;&#x7684;&#xFF0C;&#x5982;&#x679C;&#x7EDD;&#x5927;&#x90E8;&#x5206;&#x60C5;&#x51B5;&#x4E0B;&#x6D88;&#x606F;&#x5927;&#x5C0F;&#x5728;1024&#x5185;&#xFF0C;&#x4EC5;&#x5C11;&#x91CF;&#x7684;&#x6D88;&#x606F;&#x5927;&#x5C0F;&#x5728;[1024,2048)&#x533A;&#x95F4;&#x5185;&#xFF0C;&#x6269;&#x5927;readBuffer&#x5BB9;&#x91CF;&#x4F1A;&#x5BFC;&#x81F4;&#x7F13;&#x5B58;&#x7A7A;&#x95F4;&#x5229;&#x7528;&#x7387;&#x4E0D;&#x9AD8;&#xFF0C;&#x8FD9;&#x5BF9;&#x4E8E;&#x5185;&#x5B58;&#x8D44;&#x6E90;&#x662F;&#x4E00;&#x76F4;&#x6D6A;&#x8D39;&#x3002;&#x6240;&#x4EE5;&#x5B58;&#x5728;&#x6B64;&#x7C7B;&#x60C5;&#x51B5;&#x7684;&#x6D88;&#x606F;&#x4E0D;&#x5C5E;&#x4E8E;&#x201C;&#x4E00;&#x7C7B;&#x6D88;&#x606F;&#x201D;&#x3002;</p>
</blockquote>
</li>
</ul>
</li>
<li>&#x4E8C;&#x7C7B;&#x6D88;&#x606F;<br>&#x5047;&#x8BBE;readBuffer&#x7684;&#x5BB9;&#x91CF;&#x9608;&#x503C;&#x4F9D;&#x65E7;&#x662F;1024&#xFF0C;&#x7EDD;&#x5927;&#x90E8;&#x5206;&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x90FD;&#x672A;&#x8D85;&#x8FC7;&#x8BE5;&#x8303;&#x56F4;&#xFF0C;&#x4F46;&#x662F;&#x5076;&#x5C14;&#x6709;&#x51E0;&#x4E2A;&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x8D85;&#x8FC7;&#x4E86;1024&#xFF0C;&#x6B64;&#x4E3A;&#x4E8C;&#x7C7B;&#x6D88;&#x606F;&#x3002;&#x4E8C;&#x7C7B;&#x6D88;&#x606F;&#x7684;&#x5B9A;&#x4E49;&#x8FD8;&#x5B58;&#x5728;&#x4E00;&#x4E2A;&#x9650;&#x5236;&#x6761;&#x4EF6;&#xFF0C;&#x5C3D;&#x7BA1;&#x6D88;&#x606F;&#x957F;&#x5EA6;&#x8D85;&#x8FC7;&#x4E86;1024&#xFF0C;&#x4F46;&#x662F;&#x4E0D;&#x53EF;&#x8D85;&#x7684;&#x592A;&#x79BB;&#x8C31;&#x3002;&#x5F53;&#x6211;&#x4EEC;&#x8BA4;&#x4E3A;&#x4E00;&#x4E2A;&#x6D88;&#x606F;&#x56E0;&#x592A;&#x957F;&#xFF0C;&#x5BFC;&#x81F4;&#x65E0;&#x6CD5;&#x5B8C;&#x6574;&#x7684;&#x8FDB;&#x884C;&#x5185;&#x5B58;&#x5B58;&#x50A8;&#x65F6;&#xFF0C;&#x6211;&#x4EEC;&#x5C06;&#x5176;&#x5B9A;&#x4E49;&#x4E3A;&#x201C;&#x4E09;&#x7C7B;&#x6D88;&#x606F;&#x201D;&#x3002;</li>
<li>&#x4E09;&#x7C7B;&#x6D88;&#x606F;<br>&#x6B64;&#x7C7B;&#x6D88;&#x606F;&#x662F;&#x6700;&#x96BE;&#x5904;&#x7406;&#x7684;&#x4E00;&#x79CD;&#xFF0C;&#x5176;&#x7279;&#x70B9;&#x5C31;&#x662F;&#x6D88;&#x606F;&#x4F53;&#x975E;&#x5E38;&#x5927;&#xFF0C;&#x5DF2;&#x7ECF;&#x4E0D;&#x9002;&#x5408;&#x8FDB;&#x884C;&#x5185;&#x5B58;&#x5B58;&#x50A8;&#x4E86;&#x3002;&#x4F8B;&#x5982;&#x6587;&#x4EF6;&#x4E0A;&#x4F20;&#x7C7B;&#x7684;Http&#x6D88;&#x606F;&#xFF0C;&#x6B64;&#x65F6;&#x5B8C;&#x6574;&#x7684;&#x6D88;&#x606F;&#x53EF;&#x80FD;&#x5C0F;&#x5219;&#x51E0;&#x5146;&#xFF0C;&#x5927;&#x7684;&#x5219;&#x4EE5;G&#x4E3A;&#x5355;&#x4F4D;&#x3002;</li>
</ol>
<blockquote>
<p><strong>&#x63D0;&#x95EE;&#xFF1A;&#x5982;&#x679C;&#x901A;&#x4FE1;&#x7684;&#x6240;&#x6709;&#x6D88;&#x606F;&#x90FD;&#x56FA;&#x5B9A;&#x5728;1MB&#x7684;&#x5927;&#x5C0F;&#xFF0C;&#x5219;&#x6B64;&#x7C7B;&#x6D88;&#x606F;&#x7B97;&#x54EA;&#x4E00;&#x79CD;&#xFF1F;</strong></p>
</blockquote>
<hr>
<p>&#x5728;&#x8FDB;&#x9636;&#x7BC7;&#x4E2D;&#x6211;&#x4EEC;&#x4F1A;&#x4ECB;&#x7ECD;&#x90E8;&#x5206;aio-pro&#x7684;&#x5185;&#x5BB9;&#xFF0C;&#x5B83;&#x4E0D;&#x4EC5;&#x5305;&#x542B;&#x4E86;aio-core&#x7684;&#x6240;&#x6709;&#x529F;&#x80FD;&#xFF0C;&#x8FD8;&#x63D0;&#x4F9B;&#x4E86;TLS/SSL&#x901A;&#x8BAF;&#x529F;&#x80FD;&#xFF0C;&#x5E76;&#x63D0;&#x4F9B;&#x4E00;&#x4E9B;&#x7528;&#x4E8E;&#x8F85;&#x52A9;&#x7F16;&#x89E3;&#x7801;&#x7684;&#x5DE5;&#x5177;&#x7C7B;&#x3002;&#xFF08;&#x672A;&#x6765;&#x53EF;&#x80FD;&#x4F7F;&#x4E4B;&#x6210;&#x4E3A;&#x53EF;&#x4EE5;&#x4E3A;smart-socket&#x521B;&#x9020;&#x4E00;&#x4E9B;&#x5546;&#x4E1A;&#x6548;&#x76CA;&#x7684;&#x6A21;&#x5757;&#xFF09;</p>
<pre><code> &lt;dependency&gt;
     &lt;groupId&gt;org.smartboot.socket&lt;/groupId&gt;
     &lt;artifactId&gt;aio-pro&lt;/artifactId&gt;
     &lt;version&gt;1.3.7&lt;/version&gt;
 &lt;/dependency&gt;
</code></pre><footer class="page-footer"><span class="copyright">Copyright &#xA9; smartboot.org 2018 all right reserved&#xFF0C;powered by Gitbook</span><span class="footer-modification">&#x8BE5;&#x6587;&#x4EF6;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;
2018-05-27 14:34:42
</span></footer>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="2-decoder.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 协议解码器">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"开篇概述","level":"1.2.4.1","depth":3,"next":{"title":"协议解码器","level":"1.2.4.2","depth":3,"path":"smart-socket/second/2-decoder.md","ref":"smart-socket/second/2-decoder.md","articles":[]},"previous":{"title":"进阶篇","level":"1.2.4","depth":2,"ref":"","articles":[{"title":"开篇概述","level":"1.2.4.1","depth":3,"path":"smart-socket/second/readme.md","ref":"smart-socket/second/readme.md","articles":[]},{"title":"协议解码器","level":"1.2.4.2","depth":3,"path":"smart-socket/second/2-decoder.md","ref":"smart-socket/second/2-decoder.md","articles":[]},{"title":"一类消息","level":"1.2.4.3","depth":3,"path":"smart-socket/second/3-type-one.md","ref":"smart-socket/second/3-type-one.md","articles":[]},{"title":"二类消息","level":"1.2.4.4","depth":3,"path":"smart-socket/second/4-type-two.md","ref":"smart-socket/second/4-type-two.md","articles":[]},{"title":"三类消息","level":"1.2.4.5","depth":3,"path":"smart-socket/second/5-type-three.md","ref":"smart-socket/second/5-type-three.md","articles":[]}]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","-sharing","search-plus","expandable-chapters-interactive","tbfed-pagefooter","github","github-buttons","edit-link"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"tbfed-pagefooter":{"copyright":"Copyright &copy smartboot.org 2018","modify_label":"该文件修订时间：","modify_format":"YYYY-MM-DD HH:mm:ss"},"github":{"url":"https://github.com/smartboot/smart-socket"},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"expandable-chapters-interactive":{},"github-buttons":{"buttons":[{"user":"smartboot","repo":"smart-socket","type":"star","size":"small","count":true}]},"edit-link":{"label":"Edit This Page","base":"https://gitee.com/smartboot/docs/edit/master"},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"search-plus":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"smartboot 中文指南","language":"en","gitbook":"*","description":"本文涵盖了smartboot下所有项目的技术手册"},"file":{"path":"smart-socket/second/readme.md","mtime":"2018-05-27T06:34:42.000Z","type":"markdown"},"gitbook":{"version":"3.2.2","time":"2018-09-23T08:59:34.607Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-search-plus/jquery.mark.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-plus/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-expandable-chapters-interactive/expandable-chapters.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-edit-link/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

